package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmRole;
import cn.flying.system.domain.cm.CmRoleExample;

public interface CmRoleMapper {
    long countByExample(CmRoleExample example);

    int deleteByExample(CmRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmRole row);

    int insertSelective(CmRole row);

    List<CmRole> selectByExampleWithRowbounds(CmRoleExample example, RowBounds rowBounds);

    List<CmRole> selectByExample(CmRoleExample example);

    CmRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmRole row, @Param("example") CmRoleExample example);

    int updateByExample(@Param("row") CmRole row, @Param("example") CmRoleExample example);

    int updateByPrimaryKeySelective(CmRole row);

    int updateByPrimaryKey(CmRole row);
}